Total Complexity | 21 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 250 |
Lines of code | 142 |
Logical lines of code | 49 |
Comment lines | 75 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
enqueue_assets() | 43 | 3 | 52 | |
get_template_file() | 55 | 2 | 20 | |
should_replace_editor() | 65 | 3 | 9 | |
is_gcb_editor() | 67 | 3 | 8 | |
register_route_template_file() | 57 | 1 | 18 | |
should_use_block_editor_for_post_type() | 71 | 2 | 6 | |
conditionally_prevent_footer_text() | 72 | 2 | 6 | |
conditionally_prevent_update_text() | 72 | 2 | 6 | |
get_template_file_response() | 65 | 2 | 9 | |
register_hooks() | 65 | 1 | 8 |